package com.deep.dto;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

public class DeepSeekRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = 6197255007979451259L;

    private String model;

    private List<Message> messages;

    private boolean stream;

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public List<Message> getMessages() {
        return messages;
    }

    public void setMessages(List<Message> messages) {
        this.messages = messages;
    }

    public boolean getStream() {
        return stream;
    }

    public void setStream(boolean stream) {
        this.stream = stream;
    }

    public static class Message implements Serializable {
        @Serial
        private static final long serialVersionUID = 6150152668827925995L;

        private String role;

        private String content;

        public String getRole() {
            return role;
        }

        public void setRole(String role) {
            this.role = role;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public Message(String role, String content) {
            this.role = role;
            this.content = content;
        }
    }
}
